package com.broad.school_description.contoller;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;

@Controller
public class ViewController {

    /**
     *
     * @page : 学员案例展示
     *
     * */
    @RequestMapping("/sample")
    public String table_index(){
        return "table_show/sample";
    }

    /**
     *
     * @page : 开始页
     *
     * */
    @RequestMapping("/index")
    public String index(){
        return "main_html/index";
    }

    /**
     *
     * @page : temp页
     *
     * */
    @RequestMapping({"/","/temp"})
    public String temp(){
        return "main_html/temp";
    }

    /**
     *
     * @page : 团队介绍页
     *
     * */
    @RequestMapping("/team")
    public String team(){
        return "main_html/team";
    }

    /**
     *
     * @page : 联系方式页
     *
     * */
    @RequestMapping("/contact")
    public String contact(){
        return "main_html/contact";
    }
}
